package cn.wolfcode.wolf2w.job.task;

import cn.wolfcode.wolf2w.business.api.RemoteStrategyService;
import cn.wolfcode.wolf2w.business.api.domain.Strategy;
import cn.wolfcode.wolf2w.common.core.constant.SecurityConstants;
import cn.wolfcode.wolf2w.common.redis.service.RedisService;
import cn.wolfcode.wolf2w.common.redis.util.RedisKeys;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Collection;
import java.util.Map;

@Component("strategyStatisJob")
public class StrategyStatisHashPersistenceJob {



    @Autowired
    private RemoteStrategyService remoteStrategyService;

    public void statisHashPersistence(){

        remoteStrategyService.statisHashPersistence(SecurityConstants.INNER);
    }

}
